package com.example.oj.service;

import com.example.oj.entity.UserRegistration;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 28651
* @description 针对表【userRegistration】的数据库操作Service
* @createDate 2024-03-22 11:31:10
*/
public interface UserRegistrationService extends IService<UserRegistration> {

  Long getIsRegistry(Long userId, Long competitionId);

  Integer updateUserRegistry(Long userId, Long competitionId,Integer isAdd);

}
